using System;
using System.Reflection;
namespace AppToolKit.Core.AttributeDiscovery
{
	public abstract class FeatureProcessorBase : IFeatureProcessor
	{
		public virtual bool IsSupport(Assembly assembly)
		{
			return assembly.IsDefined(typeof(AssemblyNeedDetectAttribute), true);
		}
		public abstract void Process(Type type, FeatureProcessContext ctx);
		public virtual void ProcessAssembly(Assembly assembly)
		{
		}
	}
}
